package com.jessechanrui.template.projectcase.infrastructure.demo.support.http;

import com.burukeyou.uniapi.http.annotation.HttpApi;
import com.burukeyou.uniapi.http.annotation.param.QueryPar;
import com.burukeyou.uniapi.http.annotation.request.GetHttpInterface;
import com.burukeyou.uniapi.http.core.response.HttpResponse;

/**
 * 采用UniHttp调用http请求
 *
 * @author chenrui
 * @date 2024/11/20
 */
@HttpApi(url = "http://10.9.1.63:8040/dddd")
public interface UniHttp {

    @GetHttpInterface("/statistic/project")
    HttpResponse<String> projectStatistic(@QueryPar("projectId") String projectId);
}
